﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>UPLoad</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="js/upload.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript" src="js/jquery.swfUpload.js"></script>
<script type="text/javascript">
jQuery(function($){
	$.createUpload("UPLoad","upLoadItem","UPLoad.swf","upload.php");
	var upfile=$.getFile("UPLoad");
	upfile.postCon={PHPSESSID:1100,name:9900,age:30};
	upfile.attr={total:6,size:2000,types:"图片(*.jpg, *.gif, *.png):*.jpg;*.gif;*.png"};
	upfile.completeExport=function(){
		$("#upData").val(this.fileNameArr);
		$("#upData2").val(this.filePathArr);
	}
	upfile.deleteDataComplete=function(){
		$("#upData").val(this.fileNameArr);
		$("#upData2").val(this.filePathArr);
	}
	//-----------------------------------------
	$.createUpload("iUPLoad","iupLoadItem","UPLoad.swf","upload.php");
	iupfile=$.getFile("iUPLoad");
	iupfile.completeExport=function(){
		$("#iupData").val(this.fileNameArr);
		$("#iupData2").val(this.filePathArr);
	}
	iupfile.deleteDataComplete=function(){
		$("#iupData").val(this.fileNameArr);
		$("#iupData2").val(this.filePathArr);
	}
}); 
</script>
    <style type="text/css">
<!--
body {
	margin-left: 10px;
	margin-top: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	background-color: #E2E2B6;
}
-->
</style>
</head>
<body>
<div id="UPLoad"></div>
<input name="upData" type="text" size="88" id="upData"/>
<input name="upData2" type="hidden" id="upData2" value="" />
<div id="upLoadItem" class="uploaditem"></div>

<div id="iUPLoad"></div>
<input name="iupData" type="text" size="88" id="iupData"/>
<input name="iupData2" type="hidden" id="iupData2" value="" />
<div id="iupLoadItem" class="uploaditem"></div>
</body>
</html>
